<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
        <link rel="stylesheet" href="./CSS/all.css" />
        <link rel="stylesheet" href="./CSS/login.css" />
        <script src="./JS/jquery.js"></script>
        <style>
         form{
          
          width: 98%;
          margin: 0px auto;
      }
      label{
          display: inline-block;
          width: 100px;
          text-align: left;
      }
      form>div>input{
          width: calc(75% - 100px);
          height: 32px;
      }
        </style>
</head>
<body>
        <header>
                <a onclick="goback()">&lt;</a>
                    修改密码
                <a href="./home.html">首页</a>
            </header>
            <form action="" onsubmit="return submitaction()">
                <div>
                    <label for="">邮箱:</label><input type="email" required />
                </div>
                <div>    
                    <label for="">原始密码:</label><input type="pwd1" required />
                </div>
                <div>
                    <label for="">新密码:</label><input type="pwd2" required />
                </div>
               
                    <input type="submit" value="确定" />
                
            </form>
</body>
</html>
<script>

        function goback(){
            history.back(-1);
        }
        function submitaction(){
            alert('修改成功');
            return false;
        }
 </script>
